public class Student {
    String name;
    int age = 0;

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }

    //对Object类中的方法进行重写
    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }
}
